package kr.hkit.powerjava.chapter5.work;

import java.util.Scanner;

public class 도전과제 {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		
		
		int year;
		
		System.out.println("년도를 입력하시오. ex)1900");
		year = input.nextInt();
		System.out.println((year%100 == 0) && (year%4 == 0) || (year%400 == 0));
		
	}

}
